package org.fcitmuk.openclinica.forms;

import javax.microedition.lcdui.*;

public class SubjectSearchForm extends Form {

	private TextField txtName;
	private TextField txtId;
	
	public SubjectSearchForm(String title) {
		super(title);	
		txtId = new TextField("Subject ID:","",100,TextField.ANY);
		txtName = new TextField("Name:","",100,TextField.ANY);
		this.append(txtId);
		this.append(txtName);
	}
	
	public String getId(){
		return this.txtId.getString();
	}
	
	public void setId(String id){
		this.txtId.setString(id);
	}
	
	public String getName(){
		return this.txtName.getString();
	}
	
	public void setName(String name){
		this.txtId.setString(name);
	}
}
